package com.shop.goods.service;

import java.util.List;
import com.shop.goods.domain.ShopSort;

/**
 * 商品分类Service接口
 * 
 * @author ruoyi
 * @date 2022-03-23
 */
public interface IShopSortService 
{
    /**
     * 查询商品分类
     * 
     * @param sortId 商品分类主键
     * @return 商品分类
     */
    public ShopSort selectShopSortBySortId(Long sortId);

    /**
     * 查询商品分类列表
     * 
     * @param shopSort 商品分类
     * @return 商品分类集合
     */
    public List<ShopSort> selectShopSortList(ShopSort shopSort);

    /**
     * 新增商品分类
     * 
     * @param shopSort 商品分类
     * @return 结果
     */
    public int insertShopSort(ShopSort shopSort);

    /**
     * 修改商品分类
     * 
     * @param shopSort 商品分类
     * @return 结果
     */
    public int updateShopSort(ShopSort shopSort);

    /**
     * 批量删除商品分类
     * 
     * @param sortIds 需要删除的商品分类主键集合
     * @return 结果
     */
    public int deleteShopSortBySortIds(Long[] sortIds);


    /**
     * 删除商品分类信息
     *
     * @param sortId 商品分类主键
     * @return 结果
     */
    int deleteShopSortBySortId(Long sortId);
}
